package com.engine4cloud.tdf.supervision.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.engine4cloud.tdf.common.data.web.response.PageInfo;
import com.engine4cloud.tdf.common.data.web.response.Params;
import com.engine4cloud.tdf.supervision.dto.create.SupervisionLevelSettingCreateDTO;
import com.engine4cloud.tdf.supervision.dto.query.SupervisionLevelSettingQueryDTO;
import com.engine4cloud.tdf.supervision.dto.result.SupervisionLevelSettingResultDTO;
import com.engine4cloud.tdf.supervision.dto.update.SupervisionLevelSettingUpdateDTO;
import com.engine4cloud.tdf.supervision.entity.SupervisionLevelSettingEntity;

public interface SupervisionLevelSettingService extends IService<SupervisionLevelSettingEntity> {

    PageInfo<SupervisionLevelSettingResultDTO> pageList(Params page, SupervisionLevelSettingQueryDTO dto);

    SupervisionLevelSettingResultDTO getById(Long id);

    Boolean create(SupervisionLevelSettingCreateDTO dto);

    Boolean update(SupervisionLevelSettingUpdateDTO dto);
}